package com.ruoyi.mdm.domain;

import lombok.Data;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * spu主对象 sku_product_master
 *
 * @author shiseido
 * @date 2025-03-01
 */
@Data
public class SkuProductMaster extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 来源(01:自动，02:手动)
     */
    @Excel(name = "来源(01:自动，02:手动)")
    private String spuSource;

    /**
     * spu编码
     */
    @Excel(name = "spu编码")
    private String spuCode;

    /**
     * 所属品牌代码
     */
    @Excel(name = "所属品牌代码")
    private String ownerId;

    /**
     * spu中文名称
     */
    @Excel(name = "spu中文名称")
    private String spuName;

    /**
     * spu中文名称(模糊检索条件)
     */
    private String searchSpuName;

    /**
     * spu英文名称
     */
    @Excel(name = "spu英文名称")
    private String spuNameEn;

    /**
     * spu简称
     */
    @Excel(name = "spu简称")
    private String spuShortName;

    /**
     * spu昵称
     */
    @Excel(name = "spu昵称")
    private String spuNickName;

    /**
     * spu图片1
     */
    @Excel(name = "spu图片1")
    private String spuImageOne;

    /**
     * spu图片2
     */
    @Excel(name = "spu图片2")
    private String spuImageTwo;

    /**
     * spu图片3
     */
    @Excel(name = "spu图片3")
    private String spuImageThree;

    /**
     * spu图片4
     */
    @Excel(name = "spu图片4")
    private String spuImageFour;

    /**
     * spu图片5
     */
    @Excel(name = "spu图片5")
    private String spuImageFive;

    /**
     * 状态
     */
    @Excel(name = "状态", readConverterExp = "1=生效,0=失效")
    private String status;

    /**
     * 是否删除(y：是，n：否)
     */
    private String delFlag;

    /**
     * skum主对象
     */
    private List<SkuMergeMaster> skuMergeMasters;
}
